package com.newly.common.base.entity.business.Po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* @anthor sbq
* @date 2021/10/25 11:25
*/
@Data
@TableName(value = "gov_base_street")
public class BaseStreet implements Serializable {
    /**
     * 自增列
     */
    @TableId(value = "STREET_ID", type = IdType.AUTO)
    private Integer streetId;

    /**
     * 街道代码
     */
    @TableField(value = "STREET_CODE")
    private String streetCode;

    /**
     * 街道名称
     */
    @TableField(value = "STREET_NAME")
    private String streetName;

    /**
     * 父级区代码
     */
    @TableField(value = "AREA_CODE")
    private String areaCode;

    /**
     * 排序
     */
    @TableField(value = "SORT")
    private Integer sort;

    /**
     * 创建时间
     */
    @TableField(value = "GMT_CREATE")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "GMT_MODIFIED")
    private Date gmtModified;

    /**
     * 状态
     */
    @TableField(value = "DATA_STATE")
    private Integer dataState;

    private static final long serialVersionUID = 1L;

    public static final String COL_STREET_ID = "STREET_ID";

    public static final String COL_STREET_CODE = "STREET_CODE";

    public static final String COL_STREET_NAME = "STREET_NAME";

    public static final String COL_AREA_CODE = "AREA_CODE";

    public static final String COL_SORT = "SORT";

    public static final String COL_GMT_CREATE = "GMT_CREATE";

    public static final String COL_GMT_MODIFIED = "GMT_MODIFIED";

    public static final String COL_DATA_STATE = "DATA_STATE";
}